/**
 * ContactInfomationContactInfomation.java
 * 
 * Created Date: 2014年11月24日
 *				
 * Copyright (c)  Centling Technologies Co., Ltd.
 *
 * This software is the confidential and proprietary information of
 *  Centling Technologies Co., Ltd. ("Confidential Information"). You shall not
 * disclose such Confidential Information and shall use it only in accordance
 * with the terms of the license agreement you entered into with
 * Centling Technologies Co., Ltd.
 */
package com.centling.bluecollar.customer.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @author ted.ma 
 *
 */
@Entity
@Table(name = "t_proxyKeeper") //维护人表
public class ProxyKeeper {
	
	private String id;
	
	private String keeper;//维护人名称
	
	private String keepStartTime;//维护开始时间
	
	private String keepEndTime;//维护结束时间
	
	private String validTime;//联系方式有效时间
	
	private String createdTime;//创建时间
	
	private String status;
	
	private ProxyClient proxyClient;
	
	
	/**
	 * @return the id
	 */
	@GenericGenerator(name = "idGenerator", strategy = "uuid")
	@Id
	@GeneratedValue(generator = "idGenerator")
	@Column(name = "id", unique = true, nullable = false, length = 50)
	public String getId() {

		return id;
	}
	
	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(String id) {
	
		this.id = id;
	}

	/**
	 * @return the proxyClient
	 */
	@ManyToOne
	@JoinColumn(name="proxyClientID")
	public ProxyClient getProxyClient() {
	
		return proxyClient;
	}

	
	/**
	 * @param proxyClient the proxyClient to set
	 */
	public void setProxyClient(ProxyClient proxyClient) {
	
		this.proxyClient = proxyClient;
	}

	/**
	 * @return the createdTime
	 */
	public String getCreatedTime() {
	
		return createdTime;
	}

	
	/**
	 * @param createdTime the createdTime to set
	 */
	public void setCreatedTime(String createdTime) {
	
		this.createdTime = createdTime;
	}

	
	/**
	 * @return the status
	 */
	public String getStatus() {
	
		return status;
	}

	
	/**
	 * @param status the status to set
	 */
	public void setStatus(String status) {
	
		this.status = status;
	}

	
	/**
	 * @return the validTime
	 */
	public String getValidTime() {
	
		return validTime;
	}

	
	/**
	 * @param validTime the validTime to set
	 */
	public void setValidTime(String validTime) {
	
		this.validTime = validTime;
	}

	
	/**
	 * @return the keeper
	 */
	public String getKeeper() {
	
		return keeper;
	}

	
	/**
	 * @param keeper the keeper to set
	 */
	public void setKeeper(String keeper) {
	
		this.keeper = keeper;
	}

	
	/**
	 * @return the keepStartTime
	 */
	public String getKeepStartTime() {
	
		return keepStartTime;
	}

	
	/**
	 * @param keepStartTime the keepStartTime to set
	 */
	public void setKeepStartTime(String keepStartTime) {
	
		this.keepStartTime = keepStartTime;
	}

	
	/**
	 * @return the keepEndTime
	 */
	public String getKeepEndTime() {
	
		return keepEndTime;
	}

	
	/**
	 * @param keepEndTime the keepEndTime to set
	 */
	public void setKeepEndTime(String keepEndTime) {
	
		this.keepEndTime = keepEndTime;
	}

	
	
	
	
	
}
